<!DOCTYPE html>
<html>
<meta charset="utf-8">
<meta content="IE=9" http-equiv="x-ua-compatible">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${order.id}"  type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单号：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="order_sn" name="order_sn" th:value="${order.order_sn}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单总额：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="payment" name="payment" th:value="${order.payment}" class="form-control" type="text">
                            </div>
                        </div>
                        <!-- <div class="form-group">
                            <label class="col-sm-3 control-label">店长返利：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="dzMoney" name="dzMoney" th:value="${order.dzMoney}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">总监返利：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="zjMoney" name="zjMoney" th:value="${order.zjMoney}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">总代返利：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="zdMoney" name="zdMoney" th:value="${order.zdMoney}" class="form-control" type="text">
                            </div>
                        </div> -->
                        <div class="form-group">
                            <label class="col-sm-3 control-label">运费金额：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="post_fee" name="post_fee" th:value="${order.post_fee}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">优惠券金额：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="couponMoney" name="couponMoney" th:value="${order.couponMoney}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单状态</label>
                            <div class="col-sm-8">
                                <input disabled = "true" id="status" name="status" th:value="${order.status}" class="form-control" type="hidden">
                                <select disabled = "true" id = "orderStatus" th:value="${order.status}"  style="height: 34px ; padding: 0 6px">
                                   <!-- <option th:selected="${order.status} eq 0" value="0">砍价中</option>-->
                                    <option th:selected="${order.status} eq 1" value="1">待支付</option>
                                   <!-- <option th:selected="${order.status} eq 2" value="2">拼团中</option>-->
                                    <option th:selected="${order.status} eq 3" value="3">待发货</option>
                                    <option th:selected="${order.status} eq 4" value="4">待收货</option>
                                    <option th:selected="${order.status} eq 5" value="5">退货中</option>
                                    <option th:selected="${order.status} eq 6" value="6">退货完成</option>
                                    <option th:selected="${order.status} eq 7" value="7">已完成</option>
                                    <option th:selected="${order.status} eq 8" value="8">订单取消</option>
                                    <option th:selected="${order.status} eq 11" value="11">换货中</option>
                                   <!-- <option th:selected="${order.status} eq 9" value="9">砍价失败</option>
                                    <option th:selected="${order.status} eq 10" value="10">拼团失败</option>
                                    <option th:selected="${order.status} eq 11" value="11">自提中</option>-->
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单人姓名：</label>
                            <div class="col-sm-8">
                                <input disabled = "true" id="userName" name="userName" th:value="${order.userName}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">下单人账号：</label>
                            <div class="col-sm-8">
                                <input disabled = "true" id="phone" name="phone" th:value="${order.phone}" class="form-control" type="text">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品名：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="name" name="name" th:value="${order.name}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品图：</label>
                            <div class="col-sm-8">
                                <img  th:src="${order.imgurl}" style="height:100px">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">规格：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="spec" name="spec" th:value="${order.spec}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">商品数量：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="total" name="total" th:value="${order.total}" class="form-control" type="text">
                            </div>
                        </div>



                        <div class="form-group">
                            <label class="col-sm-3 control-label">订单创建时间：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="create_at" name="create_at" th:value="${order.create_at}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">发货时间：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="consign_at" name="consign_at" th:value="${order.consign_at}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">交易完成时间：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="end_at" name="end_at" th:value="${order.end_at}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">换货时间：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="modify_create_at" name="modify_create_at" th:value="${order.modify_create_at}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">物流名称：</label>
                            <div class="col-sm-8">
                                <input disabled = "true" id="shipping_name" name="shipping_name" th:value="${order.shipping_name}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">物流单号：</label>
                            <div class="col-sm-8">
                                <input disabled = "true" id="shippin_code" name="shippin_code" th:value="${order.shipping_code}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">换货原因：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="reason" name="reason" th:value="${order.reason}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收件人电话：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="receiver_phone" name="receiver_phone" th:value="${order.receiver_phone}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收件人姓名：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="receiver_name" name="receiver_name" th:value="${order.receiver_name}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收件地址：</label>
                            <div class="col-sm-8">
                                <input disabled="true" id="orderSn" name="orderSn" th:value="${order.receiver_province+order.receiver_city+order.receiver_county+order.receiver_address}" class="form-control" type="text">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="/js/plugins/laydate/laydate.js"></script>
<script th:inline="javascript">
    /*laydate.render({
        elem: '#consignAt'
        ,value: [[${consignAt}]] //必须遵循format参数设定的格式

    });*/
    /*laydate.render({
        elem: '#endAt' //指定元素
        ,value: [[${endAt}]]
    });*/
</script>
</body>
</html>
